<%inherit file="base.html"/>
<%def name="title()">Photos ${rep}</%def>

${navig}

<center>
<table width="100%">
   <tr>
   % for name,isfile,file in items:
        <td align="center" valign="top" width="140" height="140">
          % if isfile:
              <a href="show?file=${file}">
                    <img src="mini.gif?file=${file}" border=2><br>
                    ${name}
              </a>
              &nbsp;
          % else:
            <a href="index?dir=${file}">
                <center><img src="/folder.gif" border=0><br>
                        ${name}
                </center>           
              </a>  
          % endif
        </td>
        
        % if items.index((name,isfile,file)) % 4==3:
            </tr><tr>
        % endif
        
    % endfor
</tr>
</table>
</center>